<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="View Course Details"></h:outputText>
        </ui:define>
        <ui:define name="content">
            <h:form>
                <center>

                    <p:panel style="width: 100%" header="FeedBack Detail">
                        <p:panelGrid columns="2" style="width:100%">
                            <h:outputText value="Title: " style="width: 150px;"/>
                            <h:outputText style="word-break:break-all;" value="#{feedbackController.current.title}" />
                            <h:outputText value="Content:"/>
                            <h:outputText value="#{feedbackController.current.content}" style="word-break:break-all;"/>
                            <h:outputText value="Send Date: " style="width: 150px;"/>
                            <h:outputText style="word-break:break-all;" value="#{feedbackController.current.commentDate}" >
                                <f:convertDateTime pattern="dd-MMM-yyyy" />
                            </h:outputText>
                            <h:outputText value="Answer: " style="width: 150px;"/>
                            <h:outputText value="#{feedbackController.current.answer}" style="word-break:break-all;"/>

                        </p:panelGrid>
                    </p:panel>

                </center>

            </h:form>
        </ui:define>
    </ui:composition>
</html>
